separate installation of headers from the linux tree into a new guest-header
authorvhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com>
Sat, 7 Jan 2006 01:31:04 +0000 (01:31 +0000)
committervhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com>
Sat, 7 Jan 2006 01:31:04 +0000 (01:31 +0000)
directory under tools.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
linux-2.6-xen-sparse/arch/xen/Makefile
tools/Makefile
tools/guest-headers/Makefile [new file with mode: 0644]

index 115ec21c1e6622048dff17e3f2064a814cfe67c2..12930e1009ce81c69f115cbd2ad21f483f3da3d2 100644 (file)
@@ -77,8 +77,6 @@ install kernel_install:
        install -m0664 .config $(INSTALL_PATH)/boot/config-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
        install -m0664 System.map $(INSTALL_PATH)/boot/System.map-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
        ln -f -s vmlinuz-$(XINSTALL_NAME)$(INSTALL_SUFFIX) $(INSTALL_PATH)/boot/vmlinuz-$(VERSION).$(PATCHLEVEL)$(XENGUEST)$(INSTALL_SUFFIX)
-       mkdir -p $(INSTALL_PATH)/usr/include/xen/linux
-       install -m0644 $(srctree)/include/asm-xen/linux-public/*.h $(INSTALL_PATH)/usr/include/xen/linux
 
 archclean:
        @if [ -e arch/xen/arch ]; then $(MAKE) $(clean)=arch/xen/arch; fi;
index c55fb5dfb08d871e0b0db33343c988235e2c97b5..c2f22da95951b0f117e58ca653c25d0138a23fb1 100644 (file)
@@ -12,6 +12,7 @@ SUBDIRS += firmware
 SUBDIRS += security
 SUBDIRS += console
 SUBDIRS += xenmon
+SUBDIRS += guest-headers
 ifeq ($(VTPM_TOOLS),y)
 SUBDIRS += vtpm_manager
 SUBDIRS += vtpm
diff --git a/tools/guest-headers/Makefile b/tools/guest-headers/Makefile
new file mode 100644 (file)
index 0000000..aa6559f
--- /dev/null
@@ -0,0 +1,11 @@
+
+XEN_ROOT=../..
+linuxsparsetree = $(XEN_ROOT)/linux-2.6-xen-sparse
+
+check:
+
+install:
+       mkdir -p $(DESTDIR)/usr/include/xen/linux
+       install -m0644 $(linuxsparsetree)/include/asm-xen/linux-public/*.h $(DESTDIR)/usr/include/xen/linux
+
+clean: